package homework11;

public class Letter extends Thread {
	private Printer p;
	public Letter(Printer p){
		super();
		this.p=p;
	}
    @Override
    public void run() {
    	for (char c='A';c<='Z';c++) {
    		p.print(c);
        }
    }
}
